package com.vizhuo.client.business.meb.contacts.vo;

import java.io.Serializable;
import java.util.Date;

import com.vizhuo.client.base.AbstractVo;
import com.vizhuo.client.business.meb.mebacc.vo.MebConsignerVo;
import com.vizhuo.client.business.meb.mebacc.vo.MebDriverVo;
import com.vizhuo.client.business.meb.mebacc.vo.MebInfoVo;
import com.vizhuo.client.util.ClientUtil;

/**
 * @author liujq
 * @date 创建时间：2015年7月9日 下午4:10:58
 * @version 1.0
 * @parameter
 * @since
 * @return
 */
public class MebContactsVo extends AbstractVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 联系人id
     */
    private Integer Id;

    /**
     * 添加人的登陆账号id
     */
    private Integer mebAccId;

    /**
     * 联系人的电话号码
     */
    private String mobile;

    /**
     * 联系人的姓名
     */
    private String name;

    /**
     * 联系人地址
     */
    private String address;

    /**
     * 如果该联系人已经注册，就填写该联系人的账号id，如果没有注册，就设置为0就行
     */
    private Integer toMebAccId;

    /**
     * 该联系人的客户端类型1,司机;2,商户/货主;3,信息部;4,线路经理/物流公司
     */
    private String type;

    /**
     * 0,添加；1,收藏
     */
    private String isCollect;

    /**
     * 是否注册
     */

    private String accState;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 发货人
     */
    private MebConsignerVo mebConsignerVo;

    /**
     * 司机表
     */
    private MebDriverVo mebDriverVo;

    /**
     * 信息部
     */

    private MebInfoVo mebInfoVo;

    /**
     * 创建人id
     */
    private int createUserId;

    /**
     * 创建时间
     */
    private Date createDatetime;

    /**
     * 最后修改人id
     */
    private int lastModifyUserId;

    /**
     * 最后修改时间
     */
    private Date lastModifyDatetime;

    /**
     * 是否为华凌商户（1：华凌商户，0：普通商户）
     */
    private String merchantFlag;

    public String getMerchantFlag() {
        return merchantFlag;
    }

    public void setMerchantFlag(String merchantFlag) {
        this.merchantFlag = merchantFlag;
    }

    public MebConsignerVo getMebConsignerVo() {
        return mebConsignerVo;
    }

    public void setMebConsignerVo(MebConsignerVo mebConsignerVo) {
        this.mebConsignerVo = mebConsignerVo;
    }

    public MebDriverVo getMebDriverVo() {
        return mebDriverVo;
    }

    public void setMebDriverVo(MebDriverVo mebDriverVo) {
        this.mebDriverVo = mebDriverVo;
    }

    public MebInfoVo getMebInfoVo() {
        return mebInfoVo;
    }

    public void setMebInfoVo(MebInfoVo mebInfoVo) {
        this.mebInfoVo = mebInfoVo;
    }

    public Date getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(Date createDatetime) {
        this.createDatetime = new Date();
    }

    public int getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(int createUserId) {
        this.createUserId = createUserId;
    }

    public int getLastModifyUserId() {
        return lastModifyUserId;
    }

    public void setLastModifyUserId(int lastModifyUserId) {
        this.lastModifyUserId = lastModifyUserId;
    }

    public Date getLastModifyDatetime() {
        return lastModifyDatetime;
    }

    public void setLastModifyDatetime(Date lastModifyDatetime) {
        this.lastModifyDatetime = new Date();
    }

    public String getCompanyName() {
        return ClientUtil.str(companyName);
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getAddress() {
        return ClientUtil.str(address);
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getId() {
        return Id;
    }

    public void setId(Integer id) {
        Id = id;
    }

    public String getAccState() {
        return accState;
    }

    public void setAccState(String accState) {
        this.accState = accState;
    }

    public String getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(String isCollect) {
        this.isCollect = isCollect;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return ClientUtil.str(name);
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getMebAccId() {
        return mebAccId;
    }

    public void setMebAccId(Integer mebAccId) {
        this.mebAccId = mebAccId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getToMebAccId() {
        return toMebAccId;
    }

    public void setToMebAccId(Integer toMebAccId) {
        this.toMebAccId = toMebAccId;
    }

}
